package test.aat.ejinr.dataw;


import test.aat.ejinr.chk.HttpRequest;

public class LujsUserChk {

	public static void main(String[] args) {
		testLujs("","","13488849773");
		testLujs("","","18910769039");
	}

	private static void testLujs(String ip, String port, String phone) {
		if (null == ip || ip.length() == 0 || null == port || port.length() == 0) {

		} else {
			System.setProperty("http.maxRedirects", "50");
			System.getProperties().setProperty("proxySet", "true");
			System.getProperties().setProperty("http.proxyHost", ip);
			System.getProperties().setProperty("http.proxyPort", port);
		}
		String s1 = HttpRequest.sendPost("https://user.lu.com/user/service/user/get-username-new",
				"phoneNum=" + phone + "&idNo=", "gbk");
		System.out.println(s1);
	}
}
